package com.liyu.iblog.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value=HttpStatus.NOT_FOUND)
@SuppressWarnings("serial")
public class BlogNotFoundException extends RuntimeException {
    
    private String blogId;
    
    public BlogNotFoundException(String blogId) {
        this.blogId = blogId;
    }
    
    public String getBlogId() {
        return blogId;
    }
}
